// ****************************************************************************
// HushDB
//
// @File: AccessMethodInterface.h
//
// AUTHOR:  Justin Shen
//
// NOTES: 
//     This file defines the interfaces of access methods.
//
// ****************************************************************************

#ifndef HUSHDB_ACCESSMETHODINTERFACE_H
#define HUSHDB_ACCESSMETHODINTERFACE_H

#include "..\Common\BasicType.h"
#include "Page.h"
#include "BufferManager.h"

namespace Hush
{
    namespace Database
    {
        class IScan
        {
        public:
            virtual RowPtr GetNextRow() = 0;
            virtual ~IScan() {}
        };
    }
}

#endif